libxc: remove pointless null pointer check in xc_interface_open_common
authorMatthew Daley <mattjd@gmail.com>
Wed, 30 Oct 2013 07:51:43 +0000 (20:51 +1300)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 31 Oct 2013 21:30:23 +0000 (21:30 +0000)
commit6b0283689aede7d216d75088015abde950bfdbc1
tree17b75d94cda99829ee8ec6f48a97925a6139f282
parentfcaacad1a472f3023a7fd9cea4132c3f6533c913
libxc: remove pointless null pointer check in xc_interface_open_common

xch is guaranteed non-null here.

Coverity-ID: 1055944
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_private.c